package com.example.design.pattern.behavior.strategy.impl;

import com.example.design.pattern.behavior.strategy.PayStrategy;

public class AlipayPayStrategy implements PayStrategy {

    @Override
    public void pay(Object paramObject) {
        System.out.println(getType());
    }

    @Override
    public String getType() {
        return "Alipay";
    }

}
